package my.eightZOne;

import my.Views.MenuView;
import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.view.View.OnTouchListener;
import android.widget.TextView;

public class StartMenuActivity extends Activity implements OnTouchListener{
    /** Called when the activity is first created. */

	
	//AIEightQueen myai = new AIEightQueen();
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //设置竖屏
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
        //设置显示view实例
        //隐去标题栏
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);    
        //隐去状态栏   
        this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,  
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        //设置显示view实例
        setContentView(new MenuView(this, null));
        //TextView txtJifeng = (TextView)this.findViewById(R.id.JiFeng);
		//shelview.addScore(100);
		//txtJifeng.setText("您的积分是：  "+jifeng);
        
      //shelview = new ShelfView(this);
      //jifeng = shelview.getScore();//获得当前所有积分
		
    }

	@Override
	public boolean onTouch(View v, MotionEvent event) {
		// TODO Auto-generated method stub
		return false;
	}
}